/**
 * Created by 1 on 2016/7/5.
 */
Ext.define('Monkey.view.code.tpl.SimpleTpl', {
    extend: 'Monkey.view.code.tpl.NoneTpl',

    initComponent: function () {
        var store = Ext.getCmp('modelPropertyGrid').getStore();
        console.log(store);
        this.items = [{
            name: 'title',
            emptyText: '模版页面显示的标题',
            allowBlank: false,
            fieldLabel: '<span style="color: red;">*</span>标题'
        }, {
            name: 'queryFields',
            fieldLabel: '选择查询参数',
            xtype: 'multiselectfield',
            queryMode: 'local',
            displayField: 'name',
            valueField: 'name',
            maxHeight: '100',
            store: store
        }];
        this.callParent();
    }

});